//
//  NetRequest.h
//  MobileChecker
//
//  Created by Lymons on 15-1-28.
//  Copyright (c) 2015年 Lymons. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetRequest : NSObject

+ (BOOL) netWorkReachabilityWithURLString:(NSString *) strUrl;

+ (void) NetRequestPOSTWithRequestURL: (NSString *) requestURLString
                        WithParameter: (NSDictionary *) parameter
                 WithReturnValueBlock: (ReturnValueBlock) block
                     WithFailureBlock: (FailureBlock) failureBlock;

+ (void) NetRequestGETWithRequestURL: (NSString *) requestURLString
                       WithParameter: (NSDictionary *) parameter
                WithReturnValueBlock: (ReturnValueBlock) block
                    WithFailureBlock: (FailureBlock) failureBlock;
@end